﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1001-1.aspx.cs" Inherits="_1001_1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
         SelectMethod="Get_doctor_AllData"
        TypeName="CCH.DAO.doctorprofileDAO" >
    </asp:ObjectDataSource>
    <table class="webpath">
        <tr>
            <td style='vertical-align: middle'>
                <img src="images/photo/home.gif">
            </td>
            <td style='vertical-align: middle'>
                <a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
            </td>
        </tr>
    </table>
    <div class="physician">
        <div id="maincol_head" class="physicianhead">
            <% Response.Write("醫師簡介".ConverToCN());%></div>
        <div id="physicianbody">
            <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
                <EmptyDataTemplate>
                    <p>
                        <span id="sp_DATA">
                            <% Response.Write("查無資料".ConverToCN());%></span></p>
                </EmptyDataTemplate>
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <asp:Image ID="img_pic" runat="server" Height="130px" Width="130px" ImageUrl='<%# GetPic(Eval("doc_photopath"),Eval("doc_photoname")) %>' />
                                <p style="font-size: 15px; line-height: 18px;">
                                    <%# Eval("doc_name").ConverToCN() + " " + Eval("doc_title").ConverToCN()%></p>
                            </td>
                            <td>
                                <div id="physician_edu" class="phy_innel_body">
                                    <div class="physicianbody_subtitle">
                                        <% Response.Write("學經歷內容".ConverToCN());%></div>
                                    <div style="padding-left: 10px;">
                                        <%# Eval("doc_experience").ConverToCN()%></asp:Label>
                                    </div>
                                </div>
                                <div id="physician_pro" class="phy_innel_body">
                                    <div class="physicianbody_subtitle">
                                        <% Response.Write("專長".ConverToCN());%></div>
                                    <div style="padding-left: 10px;">
                                        <%# Eval("doc_skill").ConverToCN()%></asp:Label>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <br class="clr" />
                    <div class="div_hr"></div>
                </ItemTemplate>
            </asp:ListView>
        </div>
    </div>
    
</asp:Content>

